package com.wuliu.driver.mapper;

import com.wuliu.driver.pojo.Freightsources;
import com.wuliu.driver.pojo.Route;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

/**
* @author Administrator
* @description 针对表【freightsources(存储货源相关信息的表)】的数据库操作Mapper
* @createDate 2025-04-28 09:24:32
* @Entity com.wuliu.driver.pojo.Freightsources
*/
public interface FreightsourcesMapper {

    List<Freightsources> selectAll();

    List<Route> selectRoute(Integer id);

    int deleroute(Integer id);

    List<Map> selectss(String name);

    Freightsources selectOrders(Integer id);
    //修改货源剩余
    int updateOrder(Freightsources freightsources);
    //查询货源信息
    Map select(Integer id);

    List<Freightsources> selezhuanshu(Integer id);

    //新增常跑路线
    int inchang(Route route);
}
